// index.js or App.tsx
import React from 'react';
import {ErrorBoundary} from './ErrorBoundary';
import ErrorBoundaryTestMainApp from './ErrorBoundaryTestMainApp';
import ErrorUtilsTestMainApp from './ErrorUtilsTestMainApp';
import {View, StyleSheet} from 'react-native';

export default function App() {
  return (
    <ErrorBoundary>
      <ErrorBoundaryTestMainApp />
      <View
        style={{
          height: StyleSheet.hairlineWidth,
          width: '100%',
          backgroundColor: 'gray',
        }}></View>
      <ErrorUtilsTestMainApp />
    </ErrorBoundary>
  );
}
